package com.han.jdbc.mybatis._05.mappers;

import com.han.jdbc.mybatis.generate.pojo.SysSimcard;
import com.han.jdbc.mybatis.generate.pojo.SysSimcardExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysSimcardMapper {
    long countByExample(SysSimcardExample example);

    int deleteByExample(SysSimcardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysSimcard record);

    int insertSelective(SysSimcard record);

    List<SysSimcard> selectByExample(SysSimcardExample example);

    SysSimcard selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysSimcard record, @Param("example") SysSimcardExample example);

    int updateByExample(@Param("record") SysSimcard record, @Param("example") SysSimcardExample example);

    int updateByPrimaryKeySelective(SysSimcard record);

    int updateByPrimaryKey(SysSimcard record);
    List<SysSimcard>  selectByLimit(@Param("begin")Integer begin,@Param("end")Integer end) ;
    //simcard_type=#{simcardType}   WHERE  id=#{id}
    int update(SysSimcard sysSimcard) ;
}